aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/[id]/[read]/page.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-25 16:23:08 +0530
committerreal-zephex <[email protected]>2024-03-25 16:23:08 +0530
commite8671e9efd1771bc070b11f7200a9f212ed7822f (patch)
treeeace505ff98083b2e236fd53e215925a6d6221ec /src/app/manga/[title]/[id]/[read]/page.jsx
parentfix: vercel fix (diff)
downloaddramalama-e8671e9efd1771bc070b11f7200a9f212ed7822f.tar.xz
dramalama-e8671e9efd1771bc070b11f7200a9f212ed7822f.zip
feature update: added the functionality to download mangas
Diffstat (limited to 'src/app/manga/[title]/[id]/[read]/page.jsx')
-rw-r--r--src/app/manga/[title]/[id]/[read]/page.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx
index 0d58df6..2823f81 100644
--- a/src/app/manga/[title]/[id]/[read]/page.jsx
+++ b/src/app/manga/[title]/[id]/[read]/page.jsx
@@ -1,5 +1,6 @@
import styles from "./read.module.css";
import Image from "next/image";
+import DownloadManga from "./download";
export default async function Read({ params }) {
const chapterId = params.read;
@@ -23,6 +24,7 @@ export default async function Read({ params }) {
return (
<div className={styles.Main}>
<div className={styles.ImageContainer}>
+ <DownloadManga chapterId={chapterId} />
{images &&
images.map((item, index) => (
<div className={styles.Image} key={index}>